const getLocation = () => {
	uni.authorize({
		scope: 'scope.userFuzzyLocation',
		success(res) {
			console.log(res, 'dsdfdsf')
			if (res.errMsg == 'authorize:ok') {
				uni.getFuzzyLocation({
					type: 'wgs84',
					success(res1) {
						return res1
						console.log(res1, 'res1') //此时里面有经纬度
						// this.latitude = res1.latitude
						// this.longitude = res1.longitude
					}
				})
			}
		},
		fail(err) {
			console.log(err)
		}
	})
}
export default {
	getLocation
}